package com.rerun.enums;

/**
 * The enum Park status enum.
 *
 * @author Administrator     园所数据库状态
 */

public enum ParkStatusEnum {
    /**
     * 正常.
     */
    NORMAL(0,"可用"),
    /**
     * 删除.
     */
    DELETE(1,"停用");

    /** 主键 */
    private final int key;

    /** 描述 */
    private final String desc;


    ParkStatusEnum(final int key, final String desc) {
        this.key = key;
        this.desc = desc;
    }

    /**
     * Gets key.
     *
     * @return the key
     */
    public int getKey() {
        return this.key;
    }

    /**
     * Gets desc.
     *
     * @return the desc
     */
    public String getDesc() {
        return this.desc;
    }
}
